package com.itcncp.ucenter.dao.mapper;

import com.itcncp.ucenter.dao.model.UserAccountDay;
import com.itcncp.ucenter.dao.model.UserAccountDayExample;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface UserAccountDayMapper {
    long countByExample(UserAccountDayExample example);

    int deleteByExample(UserAccountDayExample example);

    int deleteByPrimaryKey(@Param("statisticDate") Date statisticDate, @Param("accountDayId") Long accountDayId);

    int insert(UserAccountDay record);

    int insertSelective(UserAccountDay record);

    List<UserAccountDay> selectByExample(UserAccountDayExample example);

    UserAccountDay selectByPrimaryKey(@Param("statisticDate") Date statisticDate, @Param("accountDayId") Long accountDayId);

    int updateByExampleSelective(@Param("record") UserAccountDay record, @Param("example") UserAccountDayExample example);

    int updateByExample(@Param("record") UserAccountDay record, @Param("example") UserAccountDayExample example);

    int updateByPrimaryKeySelective(UserAccountDay record);

    int updateByPrimaryKey(UserAccountDay record);
}